package com.thjk.bdf.service;


import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.thjk.bdf.common.entity.MerchantFailLog;
import com.thjk.bdf.common.page.TableDataInfo;
import com.thjk.bdf.service.response.MerchantInfoRseponse;
/**
 * 
 * @创建日期： 2019年11月1日
 * @author 束凯
 * @Description：商户信息处理类
 */
@FeignClient(value ="bdf-service")
public interface MerchantInfoService {
	
	/**
	 * 判断商户流水准入
	 * 
	 * @param licenseNo 营业执照号
	 * @return 通用结果
	 */
	@LoadBalanced
	@RequestMapping(value = "/merchantInfo/checkInvoiceFlow", method = RequestMethod.POST)
	public MerchantInfoRseponse selectMrtInvoiceFlow (@RequestParam("licenseNo") String  licenseNo);
	/**
	 * 
	 * @Description: 商户发票申请失败日志查询
	 * @params:参宿说明
	 */
	@LoadBalanced
	@RequestMapping(value = "/merchantInfo/selectByparams", method = RequestMethod.GET)
	public TableDataInfo selectByparams(@RequestBody MerchantFailLog merchantFailLog);


}
